package cn.bzc.data.process.model.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;


@TableName("ord_order")
@Data
public class OrdOrderInfo {

    //备案日期
    @TableField("recorddate")
    private Date recorddate;

    //收到补贴日期
    @TableField("subsidydate")
    private Date subsidydate;

    //补贴结算日期
    @TableField("btjsdate")
    private Date btjsdate;

    //平屋顶组件块数
    @TableField("pwunitnum")
    private Integer pwunitnum;

    //户用竣工指定抽检标志
    @TableField("mustcheck")
    private Integer mustcheck;

    //小型工商业是否抽查标志
    @TableField("isspotcheck")
    private Integer isspotcheck;

    //小型工商业竣工验收状态（0待验收 1商务验收 2工程验收 3质量验收 4退回 5已验收）
    @TableField("acceptancestate")
    private Integer acceptancestate;

    //服务方代理商
    @TableField("agentid")
    private Integer agentid;

    //租转直销佣金
    @TableField("brokerage")
    private Long brokerage;

    //销售审核时需要1
    @TableField("cashonefee")
    private Long cashonefee;

    //销售审核时需要2
    @TableField("cashotherfee")
    private Long cashotherfee;

    //小型工商业BOM设计审核状态（0：未开始  1：待审核  2：已完成  3:退回）
    @TableField("checkbomstate")
    private Integer checkbomstate;

    //承诺保险年份
    @TableField("commsafecunt")
    private Integer commsafecunt;

    //小型工商业合同状态（0：未开始  1：进行中  2：已完成 3:退回）在建档部分使用
    @TableField("compactstate")
    private Integer compactstate;

    //小型工商业施工管理状态（参考IacConstructStage枚举）
    @TableField("constrcstate")
    private Integer constrcstate;

    //销售时总价
    @TableField("counttotalfee")
    private Long counttotalfee;

    //创建时间
    @TableField("createtime")
    private Date createtime;

    //创建人
    @TableField("createuserid")
    private Integer createuserid;

    //总开发费
    @TableField("developcost")
    private Long developcost;

    //开发方
    @TableField("developeragentid")
    private Integer developeragentid;

    //折扣
    @TableField("discount")
    private BigDecimal discount;

    //制单日期
    @TableField("dotime")
    private Date dotime;

    //财务审核通过时间
    @TableField("financetime")
    private Date financetime;

    //财务审核通过人
    @TableField("financeuserid")
    private Integer financeuserid;

    //第一次新增投保日期
    @TableField("firstinsurancedate")
    private Date firstinsurancedate;

    //来源商机
    @TableField("fromopperid")
    private Integer fromopperid;

    //邮箱
    @TableField("guestemail")
    private String guestemail;

    //业主姓名
    @TableField("guestname")
    private String guestname;

    //联系电话
    @TableField("guestphone")
    private String guestphone;

    //身份证号
    @TableField("idnumer")
    private String idnumer;

    //是否抗风加固线上结算：0：否、1：是
    @TableField("ifaccountonline")
    private Integer ifaccountonline;

    //总安装费
    @TableField("installfee")
    private Long installfee;

    //承诺保险多少年
    @TableField("insuranceyear")
    private Integer insuranceyear;

    //状态
    @TableField("intentionstate")
    private Integer intentionstate;

    //逆变器年限（1五年 2十年）
    @TableField("inverters")
    private Integer inverters;

    //配置化全定制
    @TableField("isallcustom")
    private Boolean isallcustom;

    //是否终验（0未终验  1已终验 2终验中 3延期终验）
    @TableField("isfinaltest")
    private Integer isfinaltest;

    //是否历史订单
    @TableField("ishistory")
    private Boolean ishistory;

    //是否冻结结算
    @TableField("islockbalance")
    private Boolean islockbalance;

    //-1:电站终止中;0:无变更或变更完成(指电站终止,工程变更,租转售);2:工程变更;4:租转售
    @TableField("isonchange")
    private Integer isonchange;

    //是否结算佣金
    @TableField("ispaybrokerage")
    private Integer ispaybrokerage;

    //是否付总开发费(0:未付,1:已付)
    @TableField("ispaydevelopprice")
    private Integer ispaydevelopprice;

    //是否核销(0:未核销,1:已核销,2:部分核销)
    @TableField("ispayorder")
    private Integer ispayorder;

    //是否付总安装费(0:未付,1:已付)
    @TableField("ispayserviceprice")
    private Integer ispayserviceprice;

    //是否退质保金(0:未退,1:已退)
    @TableField("isreturnretain")
    private Integer isreturnretain;

    //是否虚拟单
    @TableField("isvirtual")
    private Integer isvirtual;

    //是否租转售
    @TableField("iszzs")
    private Boolean iszzs;

    //租赁信用占用日期
    @TableField("leaseoccupytime")
    private Date leaseoccupytime;

    //租赁信用释放日期
    @TableField("leasereleasetime")
    private Date leasereleasetime;

    //小型工商业的并网状态（0：未开始  1：并网中  2：待审核  3：退回  4：并网完成）
    @TableField("networkstate")
    private Integer networkstate;

    //制单人
    @TableField("operationagentid")
    private Integer operationagentid;

    //进行中电站节点状态：0-建档立项、1-开工、2-基础工程、3-部分完工（对大工程，该步骤可重复）、4-完工、5-并网、6-竣工、7-首次电费、8-质保一年
    @TableField("ordcodestate")
    private Integer ordcodestate;

    //订单ID
    @TableId("orderid")
    private Integer orderid;

    //订单类型：1正式单 2意向单 3工商业
    @TableField("ordertype")
    private Integer ordertype;

    //1为待推送，2为已推送
    @TableField("overpushstate")
    private Integer overpushstate;

    //佣金结算时间
    @TableField("paybrokeragetime")
    private Date paybrokeragetime;

    //开发费结算时间
    @TableField("paydeveloptime")
    private Date paydeveloptime;

    //安装费结算时间
    @TableField("payservicetime")
    private Date payservicetime;

    //核销时间
    @TableField("paytime")
    private Date paytime;

    //小型工商业提货单（0：未开始  1：进行中  2：已完成  5:部分提货）
    @TableField("pickgoodstate")
    private Integer pickgoodstate;

    //项目地址串
    @TableField("projaddressstring")
    private String projaddressstring;

    //项目地址详情
    @TableField("projectaddressdetail")
    private String projectaddressdetail;

    //客户类型：参考CustomerType枚举
    @TableField("projectaddresstype")
    private Integer projectaddresstype;

    //项目地址区
    @TableField("projectareaid")
    private Integer projectareaid;

    //项目地址镇
    @TableField("projecttownid")
    private Integer projecttownid;

    //产权单位
    @TableField("propertyorg")
    private Integer propertyorg;

    //建档审核状态
    @TableField("recordstate")
    private Integer recordstate;

    //扩展信息备注
    @TableField("remarks")
    private String remarks;

    //置换业主姓名
    @TableField("replaceguestname")
    private String replaceguestname;

    //置换电站id
    @TableField("replaceorderid")
    private Integer replaceorderid;

    //置换电站编号
    @TableField("replaceorderno")
    private String replaceorderno;

    //质保金结束时间
    @TableField("retainendtime")
    private Date retainendtime;

    //质保金
    @TableField("retainprice")
    private Long retainprice;

    //质保金开始时间
    @TableField("retainstarttime")
    private Date retainstarttime;

    //商务审核状态 1代表通过
    @TableField("reviewbusinessstate")
    private Integer reviewbusinessstate;

    //财务审核状态 1代表通过
    @TableField("reviewfinacestate")
    private Integer reviewfinacestate;

    //结构审核状态 1代表通过
    @TableField("reviewjiegoustate")
    private Integer reviewjiegoustate;

    //技术审核状态 1代表通过
    @TableField("reviewtechstate")
    private Integer reviewtechstate;

    //保险状态(0-未投保 1-新增 2-续保 3-取消 5-变更)
    @TableField("safetype")
    private Integer safetype;

    //业务员
    @TableField("salerid")
    private Integer salerid;

    //业务员姓名
    @TableField("salername")
    private String salername;

    //发货日期（历史电站）
    @TableField("sendtime")
    private Date sendtime;

    //电站终止时间
    @TableField("endtime")
    private Date endtime;

    //收益分享银行（银行类）
    @TableField("sharebank")
    private String sharebank;

    //电站是否定制
    @TableField("stationcustom")
    private Boolean stationcustom;

    //电站详细类型：1租赁 2销售 3直销 5第三方租赁
    @TableField("stationdetaitype")
    private Integer stationdetaitype;

    //电站编号
    @TableField("stationno")
    private String stationno;

    //电站大类型：1租赁 2销售
    @TableField("stationtype")
    private Integer stationtype;

    //租赁补贴项
    @TableField("subsidyfee")
    private Long subsidyfee;


    //参考总价（套餐算出）
    @TableField("totalprice")
    private Long totalprice;

    //组件数量
    @TableField("totalquantity")
    private Integer totalquantity;

    //总功率
    @TableField("totaltotalpower")
    private Integer totaltotalpower;

    //实际销售价（对代理商）
    @TableField("truetotalprice")
    private Long truetotalprice;

    //剩余未核销金额
    @TableField("unpaycost")
    private Long unpaycost;

    //修改时间
    @TableField("updatetime")
    private Date updatetime;

    //修改人
    @TableField("updateuserid")
    private Integer updateuserid;

    //常住地址串
    @TableField("usuaddressstring")
    private String usuaddressstring;

    //常住地址详情
    @TableField("usuallyaddressdetail")
    private String usuallyaddressdetail;

    //常住地址镇
    @TableField("usuallyatownid")
    private Integer usuallyatownid;

    //常住地址区
    @TableField("ususalareaid")
    private Integer ususalareaid;

    //组件功率
    @TableField("zupower")
    private Integer zupower;

    //转固状态
    @TableField("transferstate")
    private Integer transferstate;

    //工商业是否进行BOM变更标记
    @TableField("isbomchange")
    private Integer isbomchange;


    //合同版本
    @TableField("contractversion")
    private Integer contractversion;

    //商务审核时容量
    @TableField("bussreviewpower")
    private Integer bussreviewpower;

    //纳入国家补贴
    @TableField("statesubsidyfee")
    private Long statesubsidyfee;

    //是否抗风加固
    @TableField("isholdwind")
    private Integer isholdwind;

    //电站上网类型
    @TableField("plantnettype")
    private Integer plantnettype;
    //抗风补助
    @TableField("kfsubsidy")
    private Long kfsubsidy;
    //超期扣款
    @TableField("overdeductfee")
    private Long overdeductfee;
    //暂扣开发费
    @TableField("tempdeductdevefee")
    private Long tempdeductdevefee;

    //试点类型
    @TableField("pilotedtype")
    private String pilotedtype;

    //身份证ocr标识
    @TableField("ocridcard")
    private Integer ocridcard;

    //银行卡ocr标识
    @TableField("ocrbankcard")
    private Integer ocrbankcard;

    //抗风加固方式
    @TableField("kfway")
    private String kfway;

    //商务服务电站标记：0-否、1-是
    @TableField("photovoltaicloan")
    private Integer photovoltaicloan;

    //抗风结算日期
    @TableField("kfpaytime")
    private Date kfpaytime;

    //监控电站ID
    @TableField("monitorid")
    private Integer monitorid;

    //监控装机容量
    @TableField("monitorpower")
    private Integer monitorpower;

    //技术审核人
    @TableField("techreviewuserid")
    private Integer techreviewuserid;

    //购买质保年限
    @TableField("buywarranty")
    private Integer buywarranty;

    //待抵扣金额
    @TableField("deductfee")
    private Long deductfee;

    //特殊方案（参考SpecialPlan枚举）
    @TableField("isfcg")
    private Integer isfcg;

    //特殊方案块数
    @TableField("fcgnum")
    private Integer fcgnum;

    //托管运营贷款银行 参考LoanbankType枚举
    @TableField("loanbank")
    private Integer loanbank;

    //运维服务商
    @TableField("serviceuser")
    private Integer serviceuser;

    //自审通过日期
    @TableField("reviewselfdate")
    private Date reviewselfdate;

    //签订电子合同；-1允许纸质，0未签订电子合同，1已绑定电子合同
    @TableField("doescontrac")
    private Integer doescontrac;

    //是否租金前置
    @TableField("isfirentpre")
    private Integer isfirentpre;

    //房产证明类型 参考数据字典
    @TableField("housefiletype")
    private String housefiletype;

    //是否p型组件 1 是，0 否
    @TableField("isassembly")
    private Integer isassembly;

    //是否融资标记 1 是 ，0 否
    @TableField("flag")
    private Integer flag;

    //业务类型，枚举BusinessType，此处只有1和4
    @TableField("businesstype")
    private Integer businesstype;

    //是否平改坡合同
    @TableField("ispgpcnt")
    private Integer ispgpcnt;

    //是否齐套
    @TableField("ifqitao")
    private Integer ifqitao;

    //齐套发货时间
    @TableField("qitaotime")
    private Date qitaotime;

    //齐套签收时间
    @TableField("qitaoreceivetime")
    private Date qitaoreceivetime;

    //是否外采电站（1是 0否）
    @TableField("ifoutbuy")
    private Integer ifoutbuy;

    //商务审核时块数
    @TableField("bussreviewqutt")
    private Integer bussreviewqutt;

    //是否存量变更（1是）
    @TableField("rentdeferred")
    private Integer rentdeferred;

    //是否国电投（1是）
    @TableField("isgdt")
    private Integer isgdt;

    //EPC公司
    @TableField("epcorg")
    private Integer epcorg;

    //结算标准ID
    @TableField("setstandardid")
    private Integer setstandardid;

    //特殊方案标准ID
    @TableField("btbzstandid")
    private Integer btbzstandid;

    //补录状态，枚举：SupplementaryRecordState
    @TableField("supplementaryrecordstate")
    private Integer supplementaryrecordstate;

    //电子合同关联状态：-10不通过 0未关联 10待审核 20已关联
    @TableField("linkcontract")
    private Integer linkcontract;

    //电子合同关联提交时间
    @TableField("linkcontracttime")
    private Date linkcontracttime;

    //经度
    @TableField("longitude")
    private String longitude;

    //纬度
    @TableField("latitude")
    private String latitude;

    //结算规则比率ID
    @TableField("settlerateid")
    private Long settlerateid;

    //意向单号
    @TableField("intentno")
    private String intentno;

    //定金
    @TableField("orderfeetrue")
    private String orderfeetrue;

    // 存储排布方式配置项的id
    @TableField("setids")
    private String setids;

    // 意向单状态
    @TableField("intentstate")
    private Integer intentstate;

    // 支架选择标记 1代表定制 2代表不选 0代表手动确认
    @TableField("supportab")
    private Integer supportab;

    //电站主表ID
    @TableField("uniorderid")
    private Integer uniorderid;

    //商机创建时间
    @TableField("businesscreatetime")
    private Date businesscreatetime;

    //商机创建人
    @TableField("businesscreateuserid")
    private Integer businesscreateuserid;

    //首次商机提交时间
    @TableField("businesssubmittime")
    private Date businesssubmittime;

    //电站设计方案，枚举（DesignScheme）
    @TableField("isdynamicdesign")
    private Integer isdynamicdesign;

    //产品ID
    @TableField("productid")
    private Integer productid;

    //产品名称
    @TableField("productname")
    private String productname;

    //电站类型（参考PowerStationType枚举）
    @TableField("powerstationtype")
    private String powerstationtype;

    //电站并网方式（参考PowerGridType枚举）
    @TableField("powergridmergetype")
    private String powergridmergetype;

    //电站状态（参考ProductStatus枚举）
    @TableField("productstatus")
    private String productstatus;

    //合同签署平台，枚举（ContractSignPlat）
    @TableField("contractsignplat")
    private Integer contractsignplat;

    //银行开户类型，枚举（OpenBankType）
    @TableField("openbanktype")
    private Integer openbanktype;

    //共享勘察机构ID
    @TableField("sharesurveyorgid")
    private Long sharesurveyorgid;

    //共享设计机构ID
    @TableField("sharedesignorgid")
    private Long sharedesignorgid;

    //推送投资方审核 1未推送，0已推送，2退回
    @TableField("pushtz")
    private Integer pushtz;

    //投资方竣工审核状态，枚举值CoCheckStatus
    @TableField("cocheckstatus")
    private Integer cocheckstatus;

    // 电站归集方式
    @TableField("feecollect")
    private Integer feecollect;

    // 收益分成模式id
    @TableField("rulelinkid")
    private Long rulelinkid;

    /**
     * 是否需要推送接口：0-不需要 1-需要 （接口推送判断）（谨慎使用）
     */
    @TableField("needpushflag")
    private Integer needpushflag;

    // 结算规则规定时间
    @TableField("rulefixtime")
    private Date rulefixtime;

    // 结算规则规定节点
    @TableField("rulenode")
    private Integer rulenode;

    // 支架成本结算状态，1-启用 0-停用
    @TableField("bracketcoststatus")
    private Integer bracketcoststatus;

    // 积分赠送
    @TableField("sendintegral")
    private Boolean sendintegral;

    // 电站积分
    @TableField("orderintegral")
    private Integer orderintegral;

    /**
     * 电站是否退回
     */
    @TableField("isfallback")
    private Boolean isfallback;

    /**
     * 合同加签标识：0-不加签 1-加签
     */
    @TableField("contractcosignflag")
    private Integer contractcosignflag;
}


    